package net.shao.activity;

import android.os.Bundle;
import android.text.TextUtils;

import com.socks.library.KLog;

import net.shao.R;
import net.shao.base.BaseActivity;

import cn.jpush.android.api.JPushInterface;

public class JpushActivity extends BaseActivity {



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_jpush);

        String str = getIntent().getStringExtra("notifactionMessage");
        if (!TextUtils.isEmpty(str)) {
            KLog.i("bundle: " + str.toString());
        }

    }


    @Override
    protected void onResume() {
        super.onResume();
        JPushInterface.onResume(this);
    }

    @Override
    protected void onPause() {
        super.onPause();
        JPushInterface.onPause(this);
    }

}
